<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">租金账单</h1>
</div>
<div class="wrapper-md" ng-controller="houseOwnerRentAmountListCtl">
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default col-md-12" style="padding: 0">
                <div class="panel-heading">
                    租金账单
                </div>
                <div class="panel-body">
                    <form class="form-group">
                        <div class="col-sm-4">
                            <!-- <div class="col-sm-4">
                                <input type="search" class="form-control" ng-model="_contractNo" placeholder="合同编号">
                            </div> -->
                            <div class="col-sm-6">
                                <input type="search" class="form-control" ng-model="_tenantsName" placeholder="租客姓名">
                            </div>
                            <!-- <div class="col-sm-3">
                                <ui-select ng-model="planStatus.selected" theme="bootstrap">
                                  <ui-select-match placeholder="全部小区" style="overflow: hidden;">{{$select.selected.name}}</ui-select-match>
                                  <ui-select-choices repeat="item in checkTypeArray | filter: $select.search">
                                    <div ng-bind-html="item.name | highlight: $select.search"></div>
                                  </ui-select-choices>
                                </ui-select>
                            </div> -->
                            <div class="col-sm-6">
                                <input type="search" class="form-control" ng-model="_roomCode" placeholder="房间号">
                            </div>
                        </div>
                        <div ng-controller="ContractTimeCtrl" class="col-sm-5">
                            <!-- <label class="col-sm-2 control-label" style="height:34px;line-height: 34px;">交租时间：</label> -->
                            <div class="col-sm-5">
                                <div class="input-group pull-left">
                                  <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="leaseStartTime" is-open="openContractBeginDated" datepicker-options="dateOptions" placeholder="租赁起始日期" close-text="关闭" clear-text="清除" current-text="今天" />
                                  <span class="input-group-btn">
                                    <button type="button" class="btn btn-default" ng-click="openContractBeginDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                                  </span>
                                </div>
                            </div>
                            <div class="col-sm-1 control-label" style="height:34px;line-height: 34px;">到</div>
                            <div class="col-sm-5">
                                <div class="input-group pull-left">
                                  <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="leaseEndTime" is-open="openContractEndDated" datepicker-options="dateOptions" placeholder="租赁结束日期" close-text="关闭" clear-text="清除" current-text="今天" />
                                  <span class="input-group-btn">
                                    <button type="button" class="btn btn-default" ng-click="openContractEndDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                                  </span>
                                </div>
                            </div>
                        </div>
                        <!-- <div class="col-sm-2">
                            <div class="col-sm-8">
                                <ui-select ng-model="planStatus.selected" theme="bootstrap">
                                  <ui-select-match placeholder="当前状态" style="overflow: hidden;">{{$select.selected.name}}</ui-select-match>
                                  <ui-select-choices repeat="item in checkTypeArray | filter: $select.search">
                                    <div ng-bind-html="item.name | highlight: $select.search"></div>
                                  </ui-select-choices>
                                </ui-select>
                            </div>
                        </div> -->
                        <button class="btn-yellow" ng-click="queryUser()">查询</button>
                    </form>
                </div>
                <div class="table-responsive col-md-12">
                    <table ui-jq="dataTable" ui-options="tableLoanDatas" ui-callback="initFinish" class="table table-striped m-b-none" id="example">
                        <thead>
                            <tr>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
